var webpack = require('webpack');
var path = require('path');

module.exports = {
    entry: './entry.js',
    target: "electron",
    output: {
        path: path.join(__dirname, '/dist'),  // 打包路径
        filename: 'bundle.js' // 打包文件名称
    },
    module: {
        loaders: [
            {test: /\.jsx?$/, loader: 'babel-loader'}
        ]
    }
};